package Test;

import Insert.InsertNews;
import Select.SelectNews;
import Tools.ConnDB;

// 设计模式  基于面向
public class TestDemo {
    public static void main(String[] args) {
        ConnDB conn = new ConnDB();
        conn.connectDatabase();

        SelectNews selectNews = new SelectNews();
        selectNews.selectNews();

        InsertNews insertNews = new InsertNews();
        insertNews.insertNews();
    }
}
